<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Captain's Log</title>
  <style type="text/css">
   font { font-family: Verdana, Arial; font-size: 16px; } 
   font.title { font-size: 25px; font-weight: 600; }
  </style>
</head>

<body bgcolor="#BBBBBB">
  <center>
   <font class="title">{{ game.title }}</font>
   <br>
   <font color="#444444">{{ game.ship }}</font>
   <br>
   <br>
   <font class="small">Captain's Log</font>
   <br>
  </center>
  <br>
{% for turn in game.turns %}
  <table width="100%" bgcolor="#cccccc">
    <tr>
     <td><font color="#000000">{{ turn.date }}</font></td>
    </tr>
  </table>
  <table cellspacing="0" cellpadding="4" border="6" width="100%">
{% for robot in turn.robots  %}
    <tr>
      <td width="110" bgcolor="#BBBBBB">
        <font color="#000000"><b>{{ robot.name }}</b></font>
      </td>{% for phase in robot.phases  %}
      <td bgcolor="#555555" width="200">{% for item in phase %}
        <font color='{{ item.color }}'>{{ item.text }}</font>{% endfor %}
      </td>{% endfor %}
    </tr>{% endfor %}
  </table>{% endfor %}
</body>

</html>
